<style lang="less">
@import "../less/editable-table.less";
</style>

<template>
    <div>
        <Table border :columns="columns" :data="tableData"></Table>
    </div>
</template>

<script>

export default {
    props: {
        tableData: Array,
        access: Object
    },
    data () {
        return {
            removeModel:false,
            columns: [
                {
                    title: '序号',
                    type: 'index',
                    width: 70,
                    align: 'center'
                },
                {
                    title: '始发地',
                    align: 'center',
                    key: 'fromName'
                },
                {
                    title: '目的地',
                    align: 'center',
                    key: 'toName'
                },
                {
                    title: '物流费用',
                    align: 'center',
                    width: 100,
                    key: 'wlPrice'
                },
                {
                    title: '提车费用',
                    align: 'center',
                    width: 100,
                    key: 'carLiftPrice'
                },
                {
                    title: '送车费用',
                    align: 'center',
                    width: 100,
                    key: 'homeDeloPrice'
                },
                {
                    title: '运费总价',
                    align: 'center',
                    key: 'sumPriceCost'
                },
                {
                    title: '创建时间',
                    align: 'center',
                    key: 'crtTime'
                }
            ],
            data: []
        }
    }
}
</script>
